package utils;

import java.util.Arrays;
import java.util.List;

public class Print {
    public static <T> void printArray(T[] a){
        Arrays.stream(a).forEach(System.out::print);
        System.out.println();
    }

    public static <T> void printList(List<List<T>> l){
        l.stream().forEach(nest -> {
            nest.stream().forEach(System.out::print);
            System.out.println();
        });
    }
}
